<?php

namespace App;

use App\Console\Command\AsyncTest;
use App\Console\Command\RedisTest;
use App\Console\Command\TransTest;
use App\Console\Command\WsServer;
use Wonfu\Core\Command;
use Wonfu\Core\CommandRegisterInterface;
use Wonfu\Core\Database\CreateModelCommand;
use Wonfu\Core\Route\RouteManager;

class CommandRegister implements CommandRegisterInterface
{
    public static function add(Command $application)
    {
        $application->add(new RouteManager());
        $application->add(new WsServer());
        $application->add(new AsyncTest());
        $application->add(new RedisTest());
        $application->add(new TransTest());
    }

}